/*
 * 入库单明细Service实现
 */
using VOL.demo.IRepositories;
using VOL.demo.IServices;
using VOL.Core.BaseProvider;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
using Microsoft.Extensions.DependencyInjection;

namespace VOL.demo.Services
{
    public partial class StockInOrderItemModelService : ServiceBase<StockInOrderItemModel, IStockInOrderItemModelRepository>
        , IStockInOrderItemModelService, IDependency
    {
        private readonly IStockInOrderItemModelRepository _repository;

        [ActivatorUtilitiesConstructor]
        public StockInOrderItemModelService(IStockInOrderItemModelRepository dbRepository)
            : base(dbRepository)
        {
            _repository = dbRepository;
            Init(dbRepository);
        }

        public static IStockInOrderItemModelService Instance
        {
            get { return AutofacContainerModule.GetService<IStockInOrderItemModelService>(); }
        }
    }
}





